package com.errol.generic.file.excel.model;

/**
 * Created by Errol on 19/09/01.
 *
 * @author zhang xiao bin
 * @version v1.0
 * @date 2020/10/21
 * @since v4.7.6
 */
public class ExcelParsedVO {

    /**
     * 成功导入的记录条数
     */
    private Integer amount;
    /**
     * 错误文件下载地址
     */
    private String errFilePath;
    /**
     * 错误描述信息
     */
    private String errMsg;

    public ExcelParsedVO(int amount) {
        this.amount = amount;
        this.errFilePath = "";
    }

    public ExcelParsedVO(String errFilePath) {
        this.amount = 0;
        this.errFilePath = errFilePath;
    }

    public ExcelParsedVO(String errFilePath, String errMsg) {
        this.amount = 0;
        this.errFilePath = errFilePath;
        this.errMsg = errMsg;
    }

    public Integer getAmount() {
        return amount;
    }

    public String getErrFilePath() {
        return errFilePath;
    }

    public String getErrMsg() {
        return errMsg;
    }
}
